package org.dromara.ai.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import lombok.RequiredArgsConstructor;
import org.dromara.ai.domain.AiUserFollow;
import org.dromara.ai.domain.vo.AiUserFollowVo;
import org.dromara.ai.mapper.AiUserFollowMapper;
import org.dromara.ai.service.IAiUserFollowService;
import org.springframework.stereotype.Service;

import java.util.List;

@RequiredArgsConstructor
@Service
public class AiUserFollowServiceImpl implements IAiUserFollowService {

    private final AiUserFollowMapper baseMapper;
    @Override
    public List<AiUserFollowVo> queryByFollowerId(Long followerId) {
        return List.of();
    }

    @Override
    public List<AiUserFollowVo> queryByFolloweeId(Long followeeId) {
        return List.of();
    }

    @Override
    public Boolean insertByAiUserFollow(AiUserFollow aiUserFollow) {
        return baseMapper.insert(aiUserFollow)>0;
    }

    @Override
    public Boolean deleteByAiUserFollow(AiUserFollow aiUserFollow) {
        return baseMapper.deleteById(aiUserFollow)>0;
    }
}
